package com.springboot.ww.platform.pd.order.api;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 描述：
 *
 * @author 🧑 ‍wanwei
 * @since 2024-05-16 11:02
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class PdCarrierResp implements Serializable {


    @JsonProperty("success")
    private boolean success;
    @JsonProperty("requestId")
    private String requestId;
    @JsonProperty("errorCode")
    private int errorCode;
    @JsonProperty("errorMsg")
    private String errorMsg;
    @JsonProperty("result")
    private List<ResultBean> result;

    @JsonIgnoreProperties(ignoreUnknown = true)
    @Data
    public static class ResultBean implements Serializable {
        @JsonProperty("logisticsServiceProviderId")
        private String logisticsServiceProviderId;
        @JsonProperty("logisticsServiceProviderName")
        private String logisticsServiceProviderName;
        @JsonProperty("logisticsBrandName")
        private String logisticsBrandName;
    }
}
